<template>
  <Base
    url="/LogWarn/GetPageList"
    :tableColumn="tableColumn"
    :name="t('loginfo.base.alarm')"
  />
</template>

<script setup>
import Base from "../base/index.vue";
import { useI18n } from "vue-i18n";
let { t } = useI18n();
const tableColumn = [
  { type: "index", width: "50", label: "No.", align: "center", fixed: true },
  { prop: "warningCode", label: t("loginfo.alarm.code"), align: "center" },
  { prop: "creationTime", label: t("loginfo.alarm.time"), align: "center" },
  { prop: "moduleName", label: t("loginfo.alarm.module"), align: "center" },
  {
    prop: "message",
    label: t("loginfo.alarm.message"),
    align: "center",
    showOverflowTooltip: true,
  },
  {
    prop: "suggest",
    label: t("loginfo.alarm.suggest"),
    align: "center",
    showOverflowTooltip: true,
  },
];
</script>
<style lang="scss" scoped></style>
